package cn.tedu.hm.mapper;

import cn.tedu.hm.pojo.AdminRole;
import cn.tedu.hm.pojo.vo.AdminRoleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【ams_admin_role(管理员角色关联)】的数据库操作Mapper
* @createDate 2023-04-11 16:12:44
* @Entity cn.tedu.hm.pojo.AdminRole
*/
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    int insertBatch(List<AdminRole> adminRoleList);

    int deleteByAdminId(Long id);


    List<AdminRoleVO> listByAdminId(Integer id);
}




